package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 计划对象 t_plan
 * 
 * @author ruoyi
 * @date 2024-06-27
 */
public class TPlan extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private String id;

    /** 计划标题 */
    @Excel(name = "计划标题")
    private String title;

    /** 计划链接 */
    @Excel(name = "计划链接")
    private String link;

    /** 计划说明 */
    @Excel(name = "计划说明")
    private String description;

    /** 添加人id */
    @Excel(name = "添加人id")
    private String addUserId;

    /** 绑定日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "绑定日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bindDate;

    /** 删除标志 */
    @Excel(name = "删除标志")
    private Integer deleteFlag;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setLink(String link) 
    {
        this.link = link;
    }

    public String getLink() 
    {
        return link;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }
    public void setAddUserId(String addUserId) 
    {
        this.addUserId = addUserId;
    }

    public String getAddUserId() 
    {
        return addUserId;
    }
    public void setBindDate(Date bindDate) 
    {
        this.bindDate = bindDate;
    }

    public Date getBindDate() 
    {
        return bindDate;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("link", getLink())
            .append("description", getDescription())
            .append("addUserId", getAddUserId())
            .append("bindDate", getBindDate())
            .append("deleteFlag", getDeleteFlag())
            .toString();
    }
}
